package gx.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import gx.dao.ManagerDao;
import gx.entity.Manager;
import gx.service.common.BaseService;
@Service
public class ManagerService extends BaseService<Manager> {
private ManagerDao managerDao;

public ManagerDao getManagerDao() {
	return managerDao;
}
@Autowired
public void setManagerDao(ManagerDao managerDao) {
	this.managerDao = managerDao;
	super.setDao(this.managerDao);
}

public List<Manager> findByName(String name){
	return managerDao.findByName(name);
}

public Manager findLogin(String name){
	return managerDao.findLogin(name);
}
 

}
